package org.doyutu.config;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * @author doyutu
 * @date 2018-06-30 03:53
 * spring-cloud
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Order(-1)
@Configuration
@ConfigurationProperties(prefix = "service.producer", ignoreInvalidFields = true)
public class DiscoveryClientProperty {
    private String name = "eureka-client";

}
